<?php
declare (strict_types = 1);

namespace app\model\admin;

use app\model\AdminBaseModel;

/**
 * @mixin \think\Model
 */
class SysRole extends AdminBaseModel
{
    //
    // 数据表名称
    protected $table = 'sys_role';
    protected $scopeField = true;

    //可搜索字段
    protected $searchField = [];
    protected $singleSearchField = ['role_name'];
    //可作为条件的字段
    protected $whereField = ['role_key', 'status'];
    //可做为时间范围查询的字段
    protected $timeField = ['create_time'];
    //不允许删除的ID
    public $noDeletionId = [1];
}
